/names.nsf?Login&username=richard%20collette&password=xyz&redirectto=
http://etgdev5/HSBCT/Public.nsf/hsbctframeset?readform&header=/HSBCT/Public.nsf/Header?readform&leftnav=/HSBCT/Public.nsf/LeftNav?readform~-~BaseTarget=HSBCTBody&body=http://etgdev5/HSBCT/public.nsf/codesstandards?openform
This is illegal. You should encode the query argument "redirectto" properly. So the part should be -
redirectto=http%3A%2F%2Fetgdev5%2FHSBCT%2FPublic.nsf%2Fhsbctframeset%3Freadform%26header%3D%2FHSBCT%2FPublic.nsf%2FHeader%3Freadform%26leftnav%3D%2FHSBCT%2FPublic.nsf%2FLeftNav%3Freadform~-~BaseTarget%3DHSBCTBody%26body%3Dhttp%3A%2F%2Fetgdev5%2FHSBCT%2Fpublic.nsf%2Fcodesstandards%3Fopenform